//调用接口配置文件
import { request } from 'config/request'

// 详情
export async function getDetail (params) {
  return request({
    url: 'admin/promotion/activity/detail/get',
    method: 'GET',
    data: params
  })
}

//导出
export async function derive (params) {
  console.log(params)
  return request({
    url: 'admin/promotion/activity/export-url/get',
    method: 'GET',
    data: params
  })
}
